home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / pascal / xlibpas2.zip / MAKEFILE < prev    next >
Text File  |  1994-06-12  |  3KB  |  110 lines

  1. #############################################################################
  2. # XLibPas v2.0 Makefile                                                     #
  3. # Tristan Tarrant ( tristant@cogs.susx.ac.uk )                              #
  4. #############################################################################
  5. #   MAKE   to make real mode units and programs                             #
  6. #   MAKE -DDEBUG  to make units and the programs with debug information     #
  7. #   MAKE -DDPMI   to make protected mode units and programs                 #
  8. #############################################################################
  9.  
  10. !if $d(DEBUG)
  11. TASM=tasm /m /q /t /z /zi
  12. BPC=bpc -Q -$G+ -$N- -$E- -V -$D+ -$L+ -$Y+
  13. !else
  14. TASM=tasm /m /q /t /z /zn
  15. BPC=bpc -Q -$G+ -$N- -$E- -V -$D- -$L- -$Y-
  16. !endif
  17.  
  18. !if $d(DPMI)
  19. .pas.exe:
  20.     $(BPC) -CP $&.pas
  21.  
  22. .asm.obp:
  23.     $(TASM) -d_DPMI_ $&.asm,$&.obp
  24.  
  25. .pas.tpp:
  26.     $(BPC) -CP $&.pas
  27.  
  28. all     : allprotected
  29.  
  30. !else
  31.  
  32. .pas.exe:
  33.     $(BPC) -CD $&.pas
  34.  
  35. .asm.obj:
  36.     $(TASM) $&.asm,$&.obj
  37.  
  38. .pas.tpu:
  39.     $(BPC) -CD $&.pas
  40.  
  41. all     : allreal
  42.  
  43. !endif
  44.  
  45. allreal      : xlib2.tpu xbm2.tpu xla2.tpu xmisc2.tpu xgif2.tpu\
  46.            xbmp2.tpu xconvert.exe xlarc.exe xlibdemo.exe blitdemo.exe\
  47.            fontdemo.exe
  48.  
  49. allprotected : xlib2.tpp xbm2.tpp xla2.tpp xmisc2.tpp xgif2.tpp xbmp2.tpp\
  50.            xconvert.exe xlarc.exe xlibdemo.exe blitdemo.exe fontdemo.exe
  51.  
  52. xlib2.obj    : xlib2.inc xlib2.asm
  53.  
  54. xlib2.obp    : xlib2.inc xlib2.asm
  55.  
  56. xlib2.tpu    : xlib2.obj xlib2.pas 
  57.  
  58. xlib2.tpp    : xlib2.obp xlib2.pas
  59.  
  60. xbm2.tpu     : xbm2.obj xbm2.pas xlib2.tpu
  61.  
  62. xbm2.tpp     : xbm2.obp xbm2.pas xlib2.tpp
  63.  
  64. xbm2.obj     : xbm2.inc xbm2.asm
  65.  
  66. xbm2.obp     : xbm2.inc xbm2.asm
  67.  
  68. xmisc2.tpu   : xmisc2.pas
  69.  
  70. xmisc2.tpp   : xmisc2.pas
  71.  
  72. xgif2.tpu    : xgif2.pas
  73.  
  74. xgif2.tpp    : xgif2.pas
  75.  
  76. xbmp2.tpu    : xbmp2.pas
  77.  
  78. xbmp2.tpp    : xbmp2.pas
  79.  
  80. xla2.tpu     : xmisc2.tpu xla2.pas
  81.  
  82. xla2.tpp     : xmisc2.tpp xla2.pas
  83. !ifdef $d(DPMI)
  84. xlarc.exe    : xmisc2.tpp xla2.tpp xlarc.pas
  85.  
  86. xconvert.exe : xbm2.tpp xgif2.tpp xconvert.pas
  87.  
  88. xlibdemo.exe : xlib2.tpp xbm2.tpp xlibdemo.pas
  89.  
  90. blitdemo.exe : xlib2.tpp xbm2.tpp blitdemo.pas
  91.  
  92. fontdemo.exe : xlib2.tpp xbm2.tpp fontdemo.pas
  93. !else
  94. xlarc.exe    : xmisc2.tpu xla2.tpu xlarc.pas
  95.  
  96. xconvert.exe : xbm2.tpu xgif2.tpu xconvert.pas
  97.  
  98. xlibdemo.exe : xlib2.tpu xbm2.tpu xlibdemo.pas
  99.  
  100. blitdemo.exe : xlib2.tpu xbm2.tpu blitdemo.pas
  101.  
  102. fontdemo.exe : xlib2.tpu xbm2.tpu fontdemo.pas
  103. !endif
  104. clean        : 
  105.            rm xlib2.tpu xbm2.tpu xla2.tpu xmisc2.tpu xgif2.tpu 
  106.            rm xbmp2.tpu xconvert.exe xlarc.exe xlib2.obj xbm2.obj
  107.            rm xlibdemo.exe blitdemo.exe fontdemo.exe
  108.            rm xlib2.tpp xbm2.tpp xla2.tpp xmisc2.tpp xgif2.tpp
  109.            rm xbmp2.tpp xlib2.obp xbm2.obp
  110.